package com.shemy.sshiro.domain;

import java.util.Date;

/**
 *  用户实体类
 * @author Dzsom
 * @date 2019-05-09 10:56
 */

public class SysUser {
    /**
    * 用户Id
    */
    private Integer userId;

    /**
    * 账号
    */
    private String account;

    /**
    * 密码
    */
    private String password;

    /**
    * 盐值
    */
    private String salt;

    /**
    * 真实姓名
    */
    private String truename;

    /**
    * 昵称
    */
    private String nickname;

    /**
    * 性别（1：男 2：女）
    */
    private Integer sex;

    /**
    * 电话
    */
    private String phone;

    /**
    * 电子邮箱
    */
    private String email;

    /**
    * 头像
    */
    private String avatar;

    private Date birthday;

    /**
    * 状态(1：启用  2：冻结  3：删除）
    */
    private Integer status;

    /**
    * 创建时间
    */
    private Date createtime;

    /**
    * 版本
    */
    private Integer version;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getTruename() {
        return truename;
    }

    public void setTruename(String truename) {
        this.truename = truename;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }
}